package com.shop.front.vo.course;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "课程详情Vo")
public class CourseDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    @ApiModelProperty(value = "分类")
    private List<Integer> categoryIds;

    @ApiModelProperty(value = "分类名称")
    private List<CourseCategoryListedVo> categories;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "是否精选")
    private Integer selected;

    @ApiModelProperty(value = "封面图")
    private String cover;

    @ApiModelProperty(value="学分")
    private Integer score;

    @ApiModelProperty(value = "概要")
    private String intro;

    @ApiModelProperty(value = "适合学员")
    private String students;

    @ApiModelProperty(value = "学过人数")
    private Integer studyCount;

    @ApiModelProperty(value = "类型：1文章，2视频，3图片")
    private Integer type;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private List<String> images;

    @ApiModelProperty(value = "视频链接")
    private String video;

    @ApiModelProperty(value = "是否收藏")
    private Integer collected;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "最后修改时间")
    private String updateTime;

    @ApiModelProperty(value = "学习记录ID")
    private Integer historyId;
}